<? 
	require("required/dbconnect.php");
	require("required/share_function.php");	
	if(empty($_GET['msg']))
	{
		$msg="Illegal operation!!";
	}
	else
	{ 
		$msgid=$_GET['msg'];
		
			if($msgid==1)
			{
				$msg="<div class='dw_success'>Your email has been activated</div>";
			}
			elseif($msgid==2)
			{
				$msg="<div class='dw_success'>Congratulations! Your account has been successfully activated</div>";
				
			}
			elseif($msgid==3)
			{
				$msg="<div class='dw_failed'> <font color='red'>Invalid code, email activation failed</div>";
			}
			elseif($msgid==4)
			{
				$msg="<div class='dw_failed'> <font color='red'>Invalid operation</div>";
			}
		
	}

$title="Member Activation";
require("required/header.php");		
?>

			<!-- ******************** center content *********************** -->
			
				<table width="500" align="center">
						<TD align="center" width="500" colspan="2" valign="top" height="400"> 
						<br><br><?= $msg ?>
						</td>
				</table>
			
<?  require("required/footer.php"); ?>
